<html>
<head><meta charset="utf-8"><title>skip for Rustc(De/En)codable · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/skip.20for.20Rustc(De.2FEn)codable.html">skip for Rustc(De/En)codable</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="177351802"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/skip%20for%20Rustc%28De/En%29codable/near/177351802" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Paul Faria <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/skip.20for.20Rustc(De.2FEn)codable.html#177351802">(Oct 04 2019 at 15:48)</a>:</h4>
<p>Is there a way to skip a field on a struct that's deriving <code>RustcEncodable</code> and  maybe something like <code>serde(Default)</code> for <code>RustcDecodable</code>?</p>



<a name="177355696"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/skip%20for%20Rustc%28De/En%29codable/near/177355696" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/skip.20for.20Rustc(De.2FEn)codable.html#177355696">(Oct 04 2019 at 16:28)</a>:</h4>
<p>A custom impl is your best bet today I think</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>